package domain.entities;

/**
 * Created with IntelliJ IDEA.
 * User: scamisay
 * Date: 9/10/12
 * Time: 8:03 AM
 * To change this template use File | Settings | File Templates.
 */
public enum Score {
    Excellent(0,"Excellent"),VeryGood(1,"Very Good"),Good(2,"Good"),Regular(3,"Regular"),Bad(4,"Bad");

    private String name;
    private Integer id;

    Score(){
        this.id = -1;
        this.name = "";
    }

    Score(Integer id,String name){
        this.id = id;
        this.name = name;
    }

    public String getName() {
        return this.name();
    }

    public Integer getId() {
        return this.id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
